Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 make all imports explicit #13

Merged
merged 2 commits into from
Jun 7, 2024
Merged

🐛 make all imports explicit #13

merged 2 commits into from
Jun 7, 2024

Conversation

enryH
Copy link
Member

@enryH enryH commented Jun 6, 2024

The issue for M1 Macs is polars, which needs to use the arm instructions. Apparently M1 Macs can use two versions of instructions, but the details are a bit misterious. Anyways

In mrmr-selection the line

import polars

leads to zsh: illegal hardware instruction.

see here

The current workaround for upstream packages using njab (like pimms-learn) is to only import mrmr-selection once it is needed...

@enryH enryH marked this pull request as ready for review June 7, 2024 13:22
@enryH
Copy link
Member Author

enryH commented Jun 7, 2024

direct imports are just for clarity.

@enryH enryH merged commit da0255b into main Jun 7, 2024
10 checks passed
enryH pushed a commit to RasmussenLab/pimms that referenced this pull request Jun 7, 2024
underlying case is polars import in mrmr-selection, see: RasmussenLab/njab#13
enryH pushed a commit to RasmussenLab/pimms that referenced this pull request Jun 10, 2024
- make all import explicit
- let workflow run as a last resort with one job at a time (although it wasn't necessary for the merge run)

* 🐛 make all imports explicit w.r.t. to pkg
* 📝 update M1 installation instructions

- still does not seem to work

* 🐛 deactivating njab makes it run!

- committed from marc's M1 laptop

* ⏪ use njab after fix in downstream pkg

underlying case is polars import in mrmr-selection, see: RasmussenLab/njab#13

* 🐛 try to allow parallel installations for R

- ubuntu runs are regularly failing as lock can cause issues
- alternatively one job at a time could be run in the retry

* 🐛 try to manuelly add missing dependency: gmm

* ⚡📝 make ci more robust to installation issues, update README for Mac M1 chicps

---------

Co-authored-by: mpielies <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant